package org.genntii.warehousesystem.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.genntii.warehousesystem.domain.entity.User;

import java.time.LocalDateTime;
import java.util.Map;


public interface UserService extends IService<User> {
    Map<Object, Object> register(String username, String password);

    Map<Object, Object> login(String username, String password);

    boolean userIsRealName(int id);

    void realName(String name, String identity, int id);

    boolean userIsBank(int id);

    void bank(String account, String name, int id, LocalDateTime time);

    boolean userIsTel(int id);

    void tel(String tel, LocalDateTime time, int id);

    void setCommonlyAddress(int id, int AddressId);
}
